package appconfig

type MysqlConfig struct {
	User     string
	Password string
	Host     string
	Port     int64
	DbName   string
}

type ConsulConfig struct {
	ConsulHost string
	ConsulPort int64
	Tags       []string
}
type NaCosConfig struct {
	NaCosHost string
	NaCosPort int64
	GrpcPort  int64
	NameSpace string
	DataId    string
	Group     string
	LogDir    string
	CacheDir  string
}

type AppConfig struct {
	MysqlConfig  MysqlConfig
	ConsulConfig ConsulConfig
	Name         string
	Ip           string
	Port         int
	NaCosConfig  NaCosConfig
}
